package cn.pzhu.pserson.dto;

import cn.pzhu.pserson.util.BeanUtil;
import cn.pzhu.pserson.model.Appointment;
import java.io.Serializable;


public class AppointmentDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String name;
        
        private String phone;
        
        private String openid;
        
        private String attr1;
        
        private String attr2;
        
        private String attr3;
        
        private String attr4;
        
        private String attr5;
        
        public String getName() {
            return this.name;
        }
        
        public void setName(String name) {
            this.name = name;
        }
        
        public String getPhone() {
            return this.phone;
        }
        
        public void setPhone(String phone) {
            this.phone = phone;
        }
        
        public String getOpenid() {
            return this.openid;
        }
        
        public void setOpenid(String openid) {
            this.openid = openid;
        }
        
        public String getAttr1() {
            return this.attr1;
        }
        
        public void setAttr1(String attr1) {
            this.attr1 = attr1;
        }
        
        public String getAttr2() {
            return this.attr2;
        }
        
        public void setAttr2(String attr2) {
            this.attr2 = attr2;
        }
        
        public String getAttr3() {
            return this.attr3;
        }
        
        public void setAttr3(String attr3) {
            this.attr3 = attr3;
        }
        
        public String getAttr4() {
            return this.attr4;
        }
        
        public void setAttr4(String attr4) {
            this.attr4 = attr4;
        }
        
        public String getAttr5() {
            return this.attr5;
        }
        
        public void setAttr5(String attr5) {
            this.attr5 = attr5;
        }
        
        public Appointment toModel() {
            Appointment model = new Appointment();
			BeanUtil.convert(this, model);
			return model;
        }
    
}